﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sun.WebSocket.SerialPort
{
  public class ValidateFaultException : Exception
  {
    /// <summary>
    /// 使用失败原因初始化。
    /// </summary>
    /// <param name="reason">失败原因</param>
    public ValidateFaultException(string reason)
      : base($"校验失败，{reason}")
    {

    }
  }
}
